package lec06.am;

import java.io.FileReader;
import java.io.PrintWriter;
import java.util.Scanner;

public class ReadLineDemo {
	static Scanner cin;
	
	static PrintWriter cout;

	static{
		//String path="F:/eqJava/works/coreJava/src/lec06/am/ReadLineDemo.java";
		//String path="src/lec06/am/ReadLineDemo.java";
		String path="../mycalc/B.txt";
		
		try {
			cin=new Scanner(new FileReader(path));
			cout=new PrintWriter(System.out);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
	public static void main(String[] args) {
		while(cin.hasNextLine())
			cout.println(cin.nextLine());
			

		cin.close();
		cout.close();
	}

}
